import '@/common/index_logic_preview.js';
import '@/plugins/v14s';
import visualComponents from './indexMixin';
import stores from '@/store/index.js';
const { app } = window.xVueWeb;

const config = {};


window[[`_${process.env.xvueNameSpace}`]] = {};
window[[`_${process.env.xvueNameSpace}`]].componets = visualComponents;
window[[`_${process.env.xvueNameSpace}`]].stores = { ...stores };
window[[`_${process.env.xvueNameSpace}`]].configs = config;

// 加载第三方js文件(aicc和海康)，如果环境上window._adoPremise.getCoalThirdJsKeyByAPIPromise不是undefined的话，就不需要放开这里，如果是undefined，则是需要伙伴的vapp在这里执行loadThirdJsFiles方法
// 如果不想通过这种调接口的方式，也可以自行导入，js文件附在了public文件夹中
// import { loadThirdJsFiles } from '../utils/script';
// loadThirdJsFiles();

export default visualComponents;
